home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Informant Complete 1995 - 2000
/
Delphi Informant Complete 1995 to 2000.iso
/
Delphi Informant Magazine Complete Works SOURCE CODE 1998.rar
/
1998
/
Apr
/
di9804gk
/
mmfrmone.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1997-05-30
|
735b
|
40 lines
unit mmfrmone;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TForm1 = class(TForm)
private
{ Private declarations }
protected
{ Protected declarations }
procedure wmGetMinMaxInfo(var msg: Tmessage);
message wm_GetMinMaxInfo;
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.wmGetMinMaxInfo(var msg: TMessage);
begin
with TWMGetMinMaxInfo(msg).MinMaxInfo^ do begin
{ Don't let this form get smaller than (200, 100) or
bigger than (400, 300).
}
ptMinTrackSize := point(200, 100);
ptMaxTrackSize := point(400, 300);
end;
end;
end.